<template>
    <router-view/>
</template>
<script>
    import topHeader from './components/Header.vue'

    export default {
        name: 'Main',
        computed: {
            mainWdith() {
                return {
                    width: this.$store.state.width || '100%'
                }
            }
        },
        components: {
            topHeader
        }
    }
</script>
<style lang="less">
    body {
        margin: 0px;
        background: #F7F7FB;
        .header {
            z-index: 99;
            position: fixed;
			left: 200px;
            width: 90%;
            padding-left: 0px;
            padding-right: 0px;
            #logo {
                float: left;
                height: 60px;
                width: 230px;
                line-height: 60px;
            }
        }
        .main {
            margin-top: 50px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    #app {
        font-family: 'Avenir', Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #2c3e50;
    }

    #nav {
        padding: 30px;
        a {
            font-weight: bold;
            color: #2c3e50;
            &.router-link-exact-active {
                color: #42b983;
            }
        }
    }
</style>
